# $Id: PKGBUILD 85694 2013-03-05 09:22:05Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Clément DEMOULINS <clement@archivel.fr>

pkgname=arandr
pkgver=0.1.7.1
pkgrel=1
pkgdesc="Provide a simple visual front end for XRandR 1.2."
arch=('any')
url="http://christian.amsuess.com/tools/arandr/"
license=('GPL3')
depends=('pygtk' 'xorg-xrandr')
makedepends=('docutils' 'setuptools')
install=$pkgname.install
source=(http://christian.amsuess.com/tools/$pkgname/files/$pkgname-$pkgver.tar.gz
	xrandr-format.patch
	xrandr-version.patch)
md5sums=('b99c596827558f50b25a3972455237e4'
         '67d22f82851253e594b83b63c83faef5'
         'cc009b37fb28797d5841f89f6b4bc83b')

package() {
  cd $srcdir/$pkgname-$pkgver
#  patch -p1 <$srcdir/xrandr-format.patch
#  patch -p1 <$srcdir/xrandr-version.patch
  python2 setup.py install --prefix=/usr --root=$pkgdir
}
